#include <stdio.h>
#include <stdlib.h>
#include <string.h>

/* using sprintf to concatenate strings and convert int to string */

int main() {
  char *str1 = malloc(2);
  strcpy(str1, "a");

  char *str3 = malloc(50);
  sprintf(str3, "%s%s%s%d", "Load LHS value of variable \"", str1, "\" at offset ", 0);
  printf("%s\n", str3);
  return 0;
}
